package space.hyf.service;

import space.hyf.entity.User;

/**
 * @Description: 用户登录验证服务
 * @ClassName: UserService
 * @Author: HCode
 * @Date: 2023/3/14 15:29
 * @Version: 1.0
 */
public interface UserService {
    User findUserByUsernameAndPassword(String username, String password);

    User findUserById(Long id);

    User addUser(User user);
}
